home *** CD-ROM | disk | FTP | other *** search
- property MemberText
-
- on getPropertyDescriptionList
- set description to [:]
- addProp(description, #MemberText, [#comment: "MemberText:", #format: #richText, #default: EMPTY])
- return description
- end
-
- on getBehaviorDescription
- return "Nájezd a klik"
- end
-
- on beginSprite me
- set the visible of sprite the spriteNum of me to 1
- set the visible of sprite (the spriteNum of me + 1) to 0
- set the visible of sprite (the spriteNum of me + 2) to 0
- end
-
- on endSprite me
- end
-
- on mouseEnter me
- puppetSound(1, "Najezd_otazky")
- set the cursor of sprite the spriteNum of me to [member "ruka_1", member "ruka_2"]
- set the visible of sprite (the spriteNum of me + 1) to 1
- set the visible of sprite (the spriteNum of me + 2) to 1
- updateStage()
- end
-
- on mouseLeave me
- set the cursor of sprite the spriteNum of me to -1
- set the visible of sprite (the spriteNum of me + 1) to 0
- set the visible of sprite (the spriteNum of me + 2) to 0
- end
-
- on mouseDown me
- set the member of sprite 27 to MemberText
- updateStage()
- end
-